package TestPaperSystem.service.impl;

import TestPaperSystem.entity.Answer;
import TestPaperSystem.mapper.AnswerMapper;
import TestPaperSystem.service.AnswerService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xwj
 * @since 2023-03-25
 */
@Service
public class AnswerServiceImpl extends ServiceImpl<AnswerMapper, Answer> implements AnswerService {

    @Resource
    AnswerMapper answerMapper;

    @Override
    public Answer getAnswerByPaperQuAnswer(String paperId, String quId) {
        return answerMapper.getAnswerByPaperQuAnswer(paperId , quId);
    }
}
